<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>Document</title>
    <!-- @@include ./template/link.html -->
    <link rel="stylesheet" href="./css/gsproduct.min.css" />
  </head>
  <body>
    <header class="countheader">
      <div class="fl logo">
        <a href="javascript:;">凑单品</a>
      </div>
      <div class="fr app">
        <a href="javascript:;">
          <img src="./images/header_app.png" alt="" />
        </a>
      </div>
    </header>
    <div class="gs-nav pr">
      <ul class="tabs">
        <li><a href="javascript:;">京东</a></li>
        <li><a href="javascript:;">华北</a></li>
        <li><a href="javascript:;">全部价格</a></li>
      </ul>
      <div id="show-list" class="">
        <ul>
          <!-- <li><a href="javascript:;">京东</a></li>
          <li><a href="javascript:;">一号店</a></li>
          <li><a href="javascript:;">天猫超市</a></li> -->
        </ul>
      </div>
    </div>
    <div class="content">
      <ul class="mainlist clearfix"></ul>
    </div>

    <!-- @@include ./template/footer.html -->

    <script src="./js/gsproduct.js"></script>

    <script type="text/html" id="shopTmp">
      {{each result v i}}
        <li  data-id='{{v.shopId}}' class='shop '><a href="javascript:;">{{v.shopName}}</a></li>
      {{/each}}
    </script>

    <script type="text/html" id="areaTmp">
      {{each result v i}}
        <li  data-id='{{v.areaId}}' class = 'area'><a href="javascript:;">{{v.areaName}}</a></li>
      {{/each}}
    </script>

    <script type="text/html" id="mainTmp">
        {{each result v i}}
        <li>
          <a href="javascript:;">
          <div class="pic">
              <img
              src="{{v.productImg}}"
              alt=""
              />
          </div>
          <div class="tit">{{v.productName}}</div>
          <div class="others">
              <span class="price">{{v.productPrice}}</span>
              <span class="btn">去凑单</span>
          </div>
          </a>
      </li>
        {{/each}}
    </script>
  </body>
</html>
